package cn.gd.mapper.myNotes;

import cn.gd.logging.RecordLog;
import cn.gd.pojo.Notes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MyNotesMapper {
    @RecordLog(desc = "查询指定便签表")
    List<Notes> queryAllNotes(@Param("userId") Integer userId);

    @RecordLog(desc = "修改指定便签表")
    Integer updateNotes(@Param("notes") Notes notes);

    @RecordLog(desc = "新增新的便签")
    Integer addNotes(@Param("notes") Notes notes);
}
